package com.caption.inter.service.factory;

import com.caption.inter.service.handler.Handler;
import com.caption.utils.SpringContextUtil;
import org.springframework.stereotype.Service;

@Service
public class PingAnBankHandlerFactory implements HandlerFactory{

    @Override
    public Handler create() {
        Handler handler = (Handler) SpringContextUtil.getBean("pingAnBankHandler");
        return handler;
    }
}
